ext4: Only write journal entries for modified blocks in unlink_filename
authorStefan Brüns <[email protected]>
Sun, 9 Oct 2016 18:15:28 +0000 (20:15 +0200)
committerTom Rini <[email protected]>
Mon, 24 Oct 2016 12:04:37 +0000 (08:04 -0400)
commit805e3e00f24cf5d7f922a0e5a0cd0e08ce9a8c7b
treefdc1a2be767a9149cba5ba4bb0eb86403ac501fc
parentd1bdf22461e9f0638d4ddca0ccccfe61f8a653cf
ext4: Only write journal entries for modified blocks in unlink_filename

Instead of creating a journal entry for each directory block, even
if the block is unmodified, only log the modified block.

Signed-off-by: Stefan Brüns <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: Lukasz Majewski <[email protected]>
fs/ext4/ext4_common.c